package com.xh.petdogexpert.expert.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xh.petdogexpert.expert.dto.Disease;
import com.xh.petdogexpert.expert.dto.Symptom;

public interface DiseaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Disease record);
    int deleteDisease(Disease disease);
    
    int addDisease(Disease disease);
    int addUpdateDisease(Disease disease);
    
    List<Disease> queryDisease(Disease disease);
    
    int insertSelective(Disease record);

    Disease selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Disease record);

    int updateByPrimaryKey(Disease record);
    
    List<Disease> getDiseaseSumCf(List<String> symptomIds);
    
    List<Disease> getDiseaseBaseInfo(List<Disease> list);
}